package com.cug.campus_sh_market_server.entity.vo.goodscomments;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cug.campus_sh_market_server.entity.po.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 商品评论
 * </p>
 *
 * @author dz
 * @since 2022-04-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "GoodsCommentsVO对象", description = "商品评论VO")
@TableName("goods_comments_vo")
public class GoodsCommentsVO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "评论内容")
    private String comments;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @SuppressWarnings("SpellCheckingInspection")
    @ApiModelProperty(value = "评论者名字")
    private String replyerName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;
}
